package net.meblabs.commons.progress.comm;

public abstract class ProgressMessage {

	public enum Type {
		MORE, ERROR, INIT, DONE
	};

	private Long progressId;
	private Type type;

	protected ProgressMessage(Long progressId, Type type) {
		this.progressId = progressId;
		this.type = type;
	}

	public Long getProgressId() {
		return progressId;
	}

	public Type getType() {
		return type;
	}
}
